package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 车辆费用单多收款人信息对象 erp_car_cost_collection_info
 *
 * @author cxl
 * @date 2024-09-08
 */
@TableName ("erp_car_cost_collection_info")
@ApiModel (value = "车辆费用单多收款人信息", description = "车辆费用单多收款人信息")
@Data
public class CarCostCollectionEntity {

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 车辆费用单id */
    @ApiModelProperty ("车辆费用单id")
    @TableField ("car_cost_id")
    @Excel (name = "车辆费用单id")
    private String carCostId;

    /** 行号 */
    @ApiModelProperty ("行号")
    @TableField ("line_number")
    @Excel (name = "行号")
    private String lineNumber;

    /** 收款单位 */
    @ApiModelProperty ("收款单位")
    @TableField ("collection_by")
    @Excel (name = "收款单位")
    private String collectionBy;

    /** 账户名称（收款人） */
    @TableField ("account_name")
    @ApiModelProperty ("${field.name}")
    @Excel (name = "账户名称", readConverterExp = "收=款人")
    private String accountName;

    /** 收款金额 */
    @ApiModelProperty ("收款金额")
    @TableField ("collection_amount")
    @Excel (name = "收款金额")
    private String collectionAmount;

    /** 开户银行 */
    @ApiModelProperty ("开户银行")
    @TableField ("opening_bank")
    @Excel (name = "开户银行")
    private String openingBank;

    /** 银行账号 */
    @ApiModelProperty ("银行账号")
    @TableField ("bank_account")
    @Excel (name = "银行账号")
    private String bankAccount;

    /** 银行网点 */
    @ApiModelProperty ("银行网点")
    @TableField ("bank_branches")
    @Excel (name = "银行网点")
    private String bankBranches;

    /** 是否可用 */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    /** 备注 */
    @ApiModelProperty ("备注")
    @TableField ("remark")
    @Excel (name = "备注")
    private String remark;

    /** 创建人 */
    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    @Excel (name = "创建人")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 修改人 */
    @ApiModelProperty ("修改人")
    @TableField ("update_by")
    @Excel (name = "修改人")
    private String updateBy;

    /** 修改时间 */
    @ApiModelProperty ("修改时间")
    @TableField ("update_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

}
